const debugInfo = document.getElementById('debugInfo');

function log(message) {
    console.log(message);
    debugInfo.innerHTML += message + '<br>';
} 